package com.lhd.struct.adapter.object_adapter;

/**
 * @Author: liuhd
 * @Date: 2024/10/28 15:58
 * @Description:
 */
public class Client {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.readSD(new SDCardImpl());
        System.out.println("-----------------");
        computer.readSD(new SDAdapter(new TFCardImpl()));
    }
}
